Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix/setting service ensure to stopped causes failure #197

Conversation

jschoewe
Copy link
Contributor

@jschoewe jschoewe commented Jan 8, 2019

This is a fix for issue 164. If the firewalld service is running and this module is called with service_ensure => 'stopped' then the puppet run fails because firewall-cmd commands need the firewalld service to be running in order to work.

#164

Copy link
Member

@jhoblitt jhoblitt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If folks in the wild are sending notifications for Exec['firewall::reload'], this is probably the only real option. I am leaning towards the opinion that having a public class to receive notifications is a preferable pattern, as in this sort of scenario the exec resource could be removed from the catalog completely.

/CC @alexjfisher

@alexjfisher alexjfisher merged commit c985d2d into voxpupuli:master Sep 22, 2019
@alexjfisher alexjfisher added the bug Something isn't working label Sep 22, 2019
@alexjfisher
Copy link
Member

@jschoewe Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants